#!/usr/bin/env python

import sys
import allconsuming.data
import allconsuming.webdac
import pprint

def main(args=None):
    if args == None:
        args = sys.argv[1:]

        if len(args) > 0:
            itemNumber = args[0]
        else:
            itemNumber = '13919'
        r = allconsuming.webdac.getItemUsers(itemNumber)
        r.sort()
        pprint.pprint(r)

    return 0


if __name__ == '__main__':
    sys.exit(main())

